import org.rsbot.script.methods.Camera;
import org.rsbot.script.methods.Keyboard;

public class BloddyMasterFarmerStealer$cameraHeight extends Thread
{
  private boolean isActive = false;
  private boolean pause = false;

  public BloddyMasterFarmerStealer$cameraHeight(BloddyMasterFarmerStealer paramBloddyMasterFarmerStealer) {
  }
  public void run() { while (this.isActive) {
      if (this.this$0.random(1, 25000) != 342) continue;
      try {
        if (this.pause) {
          while (this.pause) {
            Thread.sleep(3000L, 7000);
          }
        }
        char c = '&';
        if (BloddyMasterFarmerStealer.access$200(this.this$0).getPitch() >= this.this$0.random(35, 100)) {
          c = '(';
        }
        BloddyMasterFarmerStealer.access$300(this.this$0).pressKey(c);
        Thread.sleep(this.this$0.random(75, 500));
        BloddyMasterFarmerStealer.access$400(this.this$0).releaseKey(c);
      } catch (Exception localException1) {
        BloddyMasterFarmerStealer.access$500(this.this$0).setPitch(this.this$0.random(20, 100));
      }
      try {
        Thread.sleep(this.this$0.random(this.this$0.random(1000, 5000), this.this$0.random(11000, 17000)));
      }
      catch (Exception localException2)
      {
      }
    }
  }
}